@zogstrip: Finally, I manually moved the likes_given_count and likes_received_count to user statistics (i.e. in the function import_user_stats). Now, everything is fine except when I see the user activity by clicking on the likes given, I receive “No liked posts.”. It seems that the table user_actions doesn’t contain any like related action, it contains only action id’s 4, 5 and 6.