Function: Get votes count.
Function: Count votes of a post and property format.
Function: Get a single vote from database.
Function: Check if user vote on a post.
Function: Delete vote from database.
Function: Add post vote.
Function: Delete post vote and update qameta votes count.
Function: Output or return voting button.
Function: Add flag vote data to ap_votes table.
Function: Count flag votes.